package com.prince.bean;
/**
 * 功能描述: 返回枚举
 * @Author: 王培喜 58528792@163.com
 * @Date: 2021/4/6 16:32
 */
public enum WebCode {
	/** 枚举 */
	systemError("99", "错误"),
	success("00", "成功"),
	successPage("01", "成功"),
	duplicateName("02", "重名"),
	dataDuplication("02", "数据重复"),
	paramsError("04", "参数错误"),
	noLoginjurisdiction("05","非后台系统账户不能登入"),
	dataTampering("09","数据被篡改"),
	parameterNull("10","必要参数为空"),
	smsCodeError("10","验证码错误"),
	notRole("1","您没有登录后台管理权限"),
	oldPwd("12","原密码错误"),
	isMatcher("17","不能输入特殊字符"),
	repeatPhone("18","手机号已存在"),
	signError("3", "签名错误"),
	authenticationError("4","用户登录认证失败"),
	loginFail("1", "用户名或密码错误"),
	userLogout("-1", "用户已注销"),
	userDeactivated("-1", "用户已停用"),
	passwordConfError("1", "两次密码不一致"),
	passwordOldError("1", "旧密码错误"),
	updateError("20", "更新失败！"),
	saveError("20", "添加失败！"),
	delError("20", "删除失败！"),
	returnError("20", "退款失败！"),
	userFreeze("1","用户已冻结"),
	userFreezeTime("1","用户已冻结,请2小时后再次尝试"), 
	dateError("1","请查看预定时间和发团时间"), 
	settleError("99","团款还未收齐,不能结算"), 
	settleNotDel("99","已结算数据,不能删除"),
	matchPwd("21","请输入6-16位包含英文和数字的密码"),
	existing("22","请输入6-16位包含英文和数字的密码"),
	NOT_DELETE("30","该商品出库记录不能删除"),
	RETURN_PRODUCT("31","请先将该商品做退货处理"),
	ERROR_NUMBER("31","请确认数量后再次操作"),
	GT_NUMBER("31","数量必须大于0"),
	NOT_REPEAT_RETURN("31","不能重复退款"),
	NOT_AMOUT_ZERO("31","先将账户冲正在删除"),
	;

	
	public String code;
	public String msg;
	WebCode(String code , String msg){
		this.code = code;
		this.msg = msg;
	}

}
